package com.java2020.online_mall.service;

import com.java2020.online_mall.model.Admin;
import com.java2020.online_mall.model.AdminPwd;

import java.util.List;

/**
 * @PackgeName: com.java2020.online_mall.service
 * @Author: MNHK
 * Date: 2020/4/28 23:15
 * @Version:1.8
 */

public interface AdminService {

    int login(Admin admin);

    List<Admin> allAdmins();

    List<Admin> getSearchAdmins( Admin params);

    Admin getAdminsInfo(String id);

    int addAdmins(Admin admin);

    int deleteAdmins(String id);

    int updateAdmins(Admin admin);

    int changePwd(AdminPwd adminPwd);
}
